package com.fancy.projecty.service;


import com.fancy.projecty.pojo.WaterAgent;
import com.github.pagehelper.PageInfo;

import java.util.Map;

public interface WaterAgentService {

	WaterAgent selectAgentByUserName(String username);

	WaterAgent selectById(Integer id);

	PageInfo<WaterAgent> selectByPage(Map map);

	void updateById(WaterAgent waterAgent);

	void insert(WaterAgent agent);
}
